com.supermap.analyst.spatialanalyst
类 DistanceAnalyst
- java.lang.Object
-
- com.supermap.analyst.spatialanalyst.DistanceAnalyst
-
public class DistanceAnalyst extends java.lang.Object
距离栅格分析类
-
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static CostPathLineResult
costPathLine(Point2D sourcePoint, Point2D targetPoint, DatasetGrid costGrid, SmoothMethod smoothMethod, int smoothDegree, Datasource targetDatasource, java.lang.String targetDatasetName, SteppedListener... listeners)
计算2点间最短耗费路径static void
removeSteppedListener(SteppedListener l)
移除回调监听static PathLineResult
surfacePathLine(Point2D sourcePoint, Point2D targetPoint, DistanceAnalystParameter parameter, SteppedListener... listeners)
计算两点间表面最短路径
-
-
-
方法详细资料
-
costPathLine
public static CostPathLineResult costPathLine(Point2D sourcePoint, Point2D targetPoint, DatasetGrid costGrid, SmoothMethod smoothMethod, int smoothDegree, Datasource targetDatasource, java.lang.String targetDatasetName, SteppedListener... listeners)
计算2点间最短耗费路径- 参数:
sourcePoint
- 出发点坐标targetPoint
- 目标点坐标costGrid
- 耗费栅格smoothMethod
- 结果线路光滑方法smoothDegree
- 结果线路光滑系数targetDatasource
- 输出数据所在数据源。targetDatasetName
- 输出数据集的名称。 return 包含2点最短路径线路的数据集listeners
- 分析进度回调监听- 返回:
- 耗费距离栅格分析结果
-
surfacePathLine
public static PathLineResult surfacePathLine(Point2D sourcePoint, Point2D targetPoint, DistanceAnalystParameter parameter, SteppedListener... listeners)
计算两点间表面最短路径- 参数:
sourcePoint
- 出发点坐标targetPoint
- 目标点坐标parameter
- 分析参数listeners
- 分析进度回调监听
-
removeSteppedListener
public static void removeSteppedListener(SteppedListener l)
移除回调监听- 参数:
l
- 回调监听
-
-